From: Lars Magne Ingebrigtsen Date: Fri, 23 Sep 2011 10:52:23 +0000 (+0200) Subject: * simple.el (kill-line): Note effect of `show-trailing-whitespace'. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~2160 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=5c6e614a86dc43eb8095e43d7c77f33061dae063;p=emacs.git * simple.el (kill-line): Note effect of `show-trailing-whitespace'. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fea3f7910cc..515f01ff4b3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-09-23 Lars Magne Ingebrigtsen + + * simple.el (kill-line): Note effect of `show-trailing-whitespace' + (bug#4538). + 2011-09-23 Michael Albinus * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions): Fix diff --git a/lisp/simple.el b/lisp/simple.el index 3cd46bf284c..35193135396 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -3430,6 +3430,10 @@ a number counts as a prefix arg. To kill a whole line, when point is not at the beginning, type \ \\[move-beginning-of-line] \\[kill-line] \\[kill-line]. +If `show-trailing-whitespace' is non-nil, this command will just +kill the rest of the current line, even if there are only +nonblanks there. + If `kill-whole-line' is non-nil, then this command kills the whole line including its terminating newline, when used at the beginning of a line with no argument. As a consequence, you can always kill a whole line